package com.zzxy.mvc34.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

@Controller
@RequestMapping("/teacher")
public class TeacherController {
    @RequestMapping("/teacher")
    public String test(@RequestParam(name = "uid", required = true) int uid){
        System.out.println(uid);
        return "redirect:/user/list.do";
    }
}
